package com.taowan.xunbaozl.morning_speak.design_pattern.day16;

/**
 * Created by 杨观回 on 2016/3/14 0014.
 * 责任链模式
 */
public class Client {
    public static void main(String[] args) {
        Handler handler = new RequestHandler1();
        Handler handler2 = new RequestHandler2();
        handler.setHandler(handler2);
        handler.dealRequest();
    }
}
